package day06;

public class Main {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        myThread.start();
        YourThread yourThread = new YourThread();
        Thread thread = new Thread(yourThread);
        thread.start();
    }
}

class MyThread extends Thread{
    @Override
    public void run(){
        System.out.println("333");
    }
}

class YourThread implements Runnable{
    @Override
    public void run(){
        System.out.println("4444");
    }
}
